<template>
	<view class="container">
		<view class="reportView" @click="toRole"><!-- @click="clickToBank" -->
			<view class="left">
				<image src="/static/images/user1.png"></image>
				<text>角色管理</text>
			</view>
			<text>></text>
		</view>
		<view class="reportView"  @click="toDept"><!-- @click="toActivity" -->
			<view class="left">
				<image src="/static/images/dept.png"></image>
				<text>机构管理</text>
			</view>
			<text>></text>
		</view>
		<view class="reportView" @click="toUser">
			
			<view class="left">
				<image src="/static/images/user4.png"></image>
				<text>用户管理</text>
			</view>
			<text>></text>
		</view>
		<!-- <view class="reportView">
			<image src="/static/images/cert.png"></image>
			<view class="">
				<text>证书管理</text>
			</view>
		</view> -->
	</view>
</template>
<script>
	export default{
		data(){
			return{
			}
		},
		methods:{
			toUser(){
				this.$tab.navigateTo(`/pages/system/user/index`)
			},
			toRole(){
				this.$tab.navigateTo(`/pages/system/role/index`)
			},
			toDept(){
				this.$tab.navigateTo(`/pages/system/dept/index`)
			}
		}
	}
</script>

<style lang="scss">
	.container{
		background-color: #fff;
		height: 100vh;
		padding-top: 20px;
		.reportView{
			width: calc(100% - 80rpx);
			display: flex;
			align-items: center;
			line-height: 80rpx;
			margin: 0 auto;
			margin-bottom: 20px;
			display: flex;
			justify-content: space-between;
			padding: 8px;
			border-bottom: 1px solid #EFEEEE;
			text{
				font-size: 14px;
				font-family: Roboto-Bold, Roboto;
				font-weight: bold;
				color: #000000;
			}
			.left{
				display: flex;
				justify-content: flex-start;
				align-items: center;
				text{
					padding-left: 10px;
				}
				image{
					width: 40rpx;
					height: 40rpx;
					margin: 0 20rpx;
				}
			}
			
		}
	}
</style>